package com.ipacs.webAdmin.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ipacs.webAdmin.base.Student;

@RestController
public class TestController {		 
		@RequestMapping("/test")
		public Student index() {
			Student stu = new Student() ;
			stu.setId("001");
			stu.setName("jackson");
			stu.setSex(99);
	        return stu;
	    }	
		
		@RequestMapping("/test2")
		public String index2() {
			 String stu="hello world" ;		
	        return "Hello World!11 ";
	    }
	}


